package com.csu.ds;

import java.sql.Date;

public class RcExpdItem {

    private int person;//支出者
    private String source;//交易的原因
    private Date date;
    private double amount;//交易金额

    public RcExpdItem(int person, String source, Date date, double amount) {
        this.person = person;
        this.source = source;
        this.date = date;
        this.amount = amount;
    }

    public int getPerson() {
        return person;
    }

    public void setPerson(int person) {
        this.person = person;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }
}
